package br.com.rpinfo.helpdesk;

import java.util.List;
import org.hibernate.criterion.Order;

public interface ClienteDao {

  public static final String NAME_TABLE = "cliente";
  public static final String NAME_SCHEMA = "public";
  public static final String NAME_COLUMN_ID = "id";
  public static final String NAME_COLUMN_NOME = "cliente_name";
  public static final String NAME_SEQUENCE = "seq_cliente";

  public void salvar(Cliente cliente);

  public void excluir(Cliente cliente);

  public Cliente carregar(int id);

  public List<Cliente> buscarPorNome(String nome);

  public List<Cliente> listar();
}
